<?php
include("membersonly.inc.php");
$sid = $_GET["sid"];


// LETS GET SERVICES FROM DATABASE
$get_services = "SELECT * FROM `".$DBprefix."services` WHERE `serv_group` = '$sid' ORDER BY `serv_name` ASC";  
$execute_get_services = mysql_query($get_services); 

while ($service = mysql_fetch_array($execute_get_services)){

$serv_id = $service["serv_id"];
$serv_group = $service["serv_group"];
$serv_name = $service["serv_name"];


   
      echo "obj.options[obj.options.length] = new Option('$serv_name','$serv_id');\n";
      
      

  }  



?> 
